package com.crm.controller;

import com.crm.common.result.AjaxResult;
import com.crm.common.result.PageResult;
import com.crm.domain.Transfer;
import com.crm.dto.TransferPageQueryDto;
import com.crm.service.TransferService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/transfer")
@Slf4j
public class TransferController {

    @Autowired
    private TransferService transferService;

    /*
    * 转派分页查询
    * */
@GetMapping("/list")
    public PageResult list(TransferPageQueryDto queryDto){
    return transferService.listpage(queryDto);



}


}
